<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>出库页面</title>
<link href="<%=request.getContextPath()%>/page/drug/css/drugStyle.css" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/css/css.css" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath()%>/page/drug/js/xiangmu.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery-1.7.1.min.js"></script>

</head>
<SCRIPT language=JavaScript>

function selectAll(){
	var obj = document.fom.elements;
	for (var i=0;i<obj.length;i++){
		if (obj[i].name == "delid"){
			obj[i].checked = true;
		}
	}
}

function unselectAll(){
	var obj = document.fom.elements;
	for (var i=0;i<obj.length;i++){
		if (obj[i].name == "delid"){
			if (obj[i].checked==true) obj[i].checked = false;
			else obj[i].checked = true;
		}
	}
}


function on_load(){
	var loadingmsg=document.getElementById("loadingmsg");
	var mainpage=document.getElementById("mainpage");
	loadingmsg.style.display="";
	mainpage.style.display="none";
	
	loadingmsg.style.display="none";
	mainpage.style.display="";
}
</SCRIPT>

<body>
<form name="fom" id="fom" method="post" action="">
<table id="mainpage" width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="62" background="<%=request.getContextPath() %>/images/nav04.gif">
          
		   <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
		        <tr>
					<td width="21">&nbsp;</td>
						<td width="550">
							日 期:<input name="textfield" type="text" size="12" readonly="readonly" />
							单 号:<input name="textfield" type="text" size="12" readonly="readonly"/>	
							出库药房：<select name="inStorage_Pharmacy">
							           <option selected="selected"></option>
	                                   <option>药房1</option>
	                                   <option>药房2</option>
	                                   <option>药房3</option>
	                                </select>
							领药人：<select name="inStorage_supplier">
							           <option value="" selected="selected"></option>
	                                   <option>供应商1</option>
	                                   <option>供应商2</option>
	                                   <option>供应商3</option>
	                                </select>
					  </td>	 
			   </tr>
           </table>
        </td>
      </tr>
  
  <tr>
    <td>
    <table id="subtree1" style="DISPLAY: " width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>
          <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
          	 <tr>
               <td height="20"><span class="newfont07">选择：<a href="#" class="right-font08" onclick="selectAll();">全选</a>-<a href="#" class="right-font08" onclick="unselectAll();">反选</a></span>
	              <input name="Submit" type="button" class="right-button08" value="删除" />
	              <input name="Submit2" type="button" class="right-button08" value="新增"/>
	              <input name="Submit" type="button" class="right-button08" value="修改" />
	              <input name="Submit2" type="button" class="right-button08" value="取消" onclick=""/>
	              <input name="Submit2" type="button" class="right-button08" value="查询" onclick=""/>
	              <input name="Submit2" type="button" class="right-button08" value="列表" onclick=""/>
	              <input name="Submit2" type="button" class="right-button08" value="明细" onclick=""/></td>
	             
          	 </tr>
              <tr>
                <td height="40" class="font42">
                    <table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">

						  <tr>
		                    <td height="20" colspan="13" align="center" style="text-align:center;" bgcolor="#EEEEEE" class="tablestyle_title">药品入库单</td>
		                  </tr>
		                  <tr>
						    <td width="6%" align="center" bgcolor="#EEEEEE">选择</td>
		                    <td width="6%" height="20" align="center" bgcolor="#EEEEEE">编号</td>
		                    <td width="6%" align="center" bgcolor="#EEEEEE">名称</td>
		                    <td width="6%" align="center" bgcolor="#EEEEEE">规格</td>
		                    <td width="6%" align="center" bgcolor="#EEEEEE">单位</td>
		                    <td width="6%" align="center" bgcolor="#EEEEEE">数量</td>
		                    <td width="6%" align="center" bgcolor="#EEEEEE">入库单价</td>
		                    <td width="6%" align="center" bgcolor="#EEEEEE">出库单价</td>
		                    <td width="6%" align="center" bgcolor="#EEEEEE">入库合计</td>
		                    <td width="6%" align="center" bgcolor="#EEEEEE">出库合计</td>
		                    <td width="6%" align="center" bgcolor="#EEEEEE">差价</td>
		                  </tr>
		                  
                    </table>
                </td>
              </tr>
            </table></td>
        </tr>
      </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="6"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1" /></td>
        </tr>
         <TR id="zdjh">
			<TD width="100%">
			  <fieldset style="height:100%;">
				<legend>汇总统计</legend>
					  <table border="0" cellpadding="1" cellspacing="1" style="width:100%">
							<tr>
							    <td nowrap align="right" width="15%">入库合计:</td>
							    <td width="35%">
							        <input name='txt3' type="text" class="text" style="width:154px" />
						        </td>
							    <td align="right">出库合计:</td>
							    <td>
							        <input class="text" name='datevalue21' style="width:154px"/>
							    </td>
							 </tr>
							 <tr>
							    <td align="right">差价合计:</td>
							    <td>
							        <input class="text" name='datevalue21' style="width:154px" />
		                        </td>
							    <td width="15%"align="right">药品管理员:</td>
							    <td width="35%"><input class="text" name='datevalue2122' style="width:154px" /></td>
							  </tr>
							  <tr>
							    <td align="right">备注:</td>
							    <td colspan="3"><textarea name="textarea" cols="80" rows="3"></textarea></td>
							 </tr>
					  </table>
				</fieldset>			
			</TD>
		</TR>
      </table></td>
  </tr>
</table>
</td>
</tr>
</table>
</form>

<div id="loadingmsg" style="width:100px; height:18px; top:0px; display:none;">
	<img src="file:///F|/项目管理相关资料/项目管理系统页面/images/loadon.gif" />
</div>

</body>
</html>